//
//  LSZInputTopicTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/8/20.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZInputTopicTableViewCell.h"

@implementation LSZInputTopicTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        UILabel * label = [[UILabel alloc]init];
        label.textColor = titleColorLSZ;
        label.text = @"输入话题:";
        [LSZSpecialPackaging setLabelAdaptiveSize:label font:13.5];
        label.frame = CGRectMake(15, 13, 75,[LSZSpecialPackaging initWithReturnsthesizeOf:19 :5]);
        [self addSubview:label];

        self.textFieldTopic = [[UITextField alloc]init];
        self.textFieldTopic.textColor = titleColorLSZ;
        [self addSubview:self.textFieldTopic];
        if (ScreenWidth == 320) {
            self.textFieldTopic.frame = CGRectMake(CGRectGetMaxX(label.frame), 13, ScreenWidth-20-CGRectGetMaxX(label.frame), 14);
            self.textFieldTopic.font = FONT_(13);
        }else if(ScreenWidth == 375){
            self.textFieldTopic.frame = CGRectMake(CGRectGetMaxX(label.frame), 13, ScreenWidth-20-CGRectGetMaxX(label.frame), 19);
            self.textFieldTopic.font = FONT_(13.5);
        }else {
            self.textFieldTopic.frame = CGRectMake(CGRectGetMaxX(label.frame), 13, ScreenWidth-20-CGRectGetMaxX(label.frame), 24);
            self.textFieldTopic.font = FONT_(14);
        }
    }
    return self;
}
@end
